home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{734B9C9D-68E5-11D2-BF5B-00A024982E5B}#45.0#0"; "axCool.ocx"
- Begin VB.Form Form1
- Caption = "Form1"
- ClientHeight = 4095
- ClientLeft = 165
- ClientTop = 450
- ClientWidth = 7125
- LinkTopic = "Form1"
- ScaleHeight = 4095
- ScaleWidth = 7125
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton Command1
- Caption = "Command1"
- Height = 510
- Left = 1755
- TabIndex = 0
- Top = 1305
- Width = 1455
- End
- Begin axCoolbar.axCool axCool1
- Align = 1 'Align Top
- Height = 405
- Left = 0
- Top = 0
- Width = 7125
- _ExtentX = 12568
- _ExtentY = 714
- Count = 5
- List_11 = "Form1.frx":0000
- List_21 = "New"
- List_31 = 1
- List_41 = 0
- List_51 = ""
- List_61 = "New"
- List_71 = 1
- List_81 = 1
- List_12 = "Form1.frx":0112
- List_22 = "Open"
- List_32 = 1
- List_42 = 0
- List_52 = ""
- List_62 = "Open"
- List_72 = 1
- List_82 = 0
- List_13 = "Form1.frx":0224
- List_23 = ""
- List_33 = 1
- List_43 = 2
- List_53 = ""
- List_63 = ""
- List_73 = 1
- List_83 = 0
- List_14 = "Form1.frx":0240
- List_24 = "Preview"
- List_34 = 1
- List_44 = 0
- List_54 = ""
- List_64 = "Preview"
- List_74 = 1
- List_84 = 0
- List_15 = "Form1.frx":0782
- List_25 = "Print"
- List_35 = 1
- List_45 = 0
- List_55 = ""
- List_65 = "Print"
- List_75 = 1
- List_85 = 1
- End
- Begin VB.Menu mnuDropDown
- Caption = "DropDown"
- Visible = 0 'False
- Begin VB.Menu mnuDropItem
- Caption = "Item 1"
- Index = 1
- End
- Begin VB.Menu mnuDropItem
- Caption = "Item 2"
- Index = 2
- End
- Begin VB.Menu mnuDropItem
- Caption = "Item 3"
- Index = 3
- End
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub axCool1_Click(Index As Integer)
- MsgBox "click " + Str(Index)
- End Sub
- Private Sub axCool1_DropDownClick(Index As Integer)
- PopupMenu mnuDropDown, 0, axCool1.Left + axCool1.Item(Index).Left, axCool1.Top + axCool1.Height - 30
- End Sub
- Private Sub Command1_Click()
- axCool1.Item(4).Enabled = False
- axCool1.UpdateButtons
- End Sub
-